package com.atguigu.yygh.rabbit.consts;

//常量类中定义交换机名称,队列名称,路由键的名称
public class MqConst {
    //第一组参数
    public static final String ORDER_EXCHANGE="orderexchange";
    public static final String ORDER_QUEUE="orderqueue";
    public static final String ORDER_KEY="orderkey";

    //第二组参数
    public static final String MSM_EXCHANGE="msmexchange";
    public static final String MSM_QUEUE="msmqueue";
    public static final String MSM_KEY="msmkey";

    //第三组参数
    public static final String CANCEL_ORDER_EXCHANGE="cancelorderexchange";
    public static final String CANCEL_ORDER_QUEUE="cancelorderqueue";
    public static final String CANCEL_ORDER_KEY="cancelorderkey";

    //第四组参数(第四个队列用到的参数)
    public static final String TASK_EXCHANGE="taskexchange";
    public static final String TASK_QUEUE="taskqueue";
    public static final String TASK_KEY="taskkey";
}
